<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册页面</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
          integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css"
          integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous">
</head>
<body>
<div class="container">
    <h1 align="center">用户注册页面</h1>
    <form action="./register.do" method="get" class="form-horizontal">
        <!--    文本框    -->
        <div class="row">
            <div class="col-md-2"></div>
            <div class="col-md-8">
                <div class="form-group">
                    <label for="username" class="control-label col-md-2">用户名</label>
                    <div class="col-md-10">
                        <input type="text" class="form-control" placeholder="请输入用户名" id="username" name="username"/>
                    </div>
                </div>
            </div>
            <div class="col-md-2"></div>
        </div>
        <div class="row">
            <div class="col-md-2"></div>
            <div class="col-md-8">
                <div class="form-group">
                    <label for="password" class="control-label col-md-2">密码</label>
                    <div class="col-md-10">
                        <input type="password" class="form-control" placeholder="请输入密码" id="password" name="password"/>
                    </div>
                </div>
            </div>
            <div class="col-md-2"></div>
        </div>
        <!--    单选框    -->
        <!--性别-->
        <div class="row">
            <div class="col-md-2"></div>
            <div class="col-md-8 ">
                <div class="form-group">
                    <label for="gender_male" class="control-label col-md-2">性别</label>
                    <div class="radio col-md-1">
                        <label>
                            <input type="radio" name="gender" id="gender_male" checked="checked">
                            男
                        </label>
                    </div>
                    <div class="radio col-md-1 ">
                        <label>
                            <input type="radio" name="gender" id="gender_female">
                            女
                        </label>
                    </div>
                </div>
            </div>
            <div class="col-md-2"></div>
        </div>

        <!--    复选框    -->
        <div class="row">
            <div class="col-md-2"></div>
            <div class="col-md-8">
                <div class="form-group">
                    <label for="email" class="control-label col-md-2">邮箱地址</label>
                    <div class="col-md-10">
                        <input type="text" class="form-control" placeholder="请输入邮箱" id="email" name="email"/>
                    </div>
                </div>
            </div>
            <div class="col-md-2"></div>
        </div>

        <div class="row">
            <div class="col-md-2"></div>
            <div class="col-md-8">
                <div class="form-group">
                    <label for="telephone" class="control-label col-md-2">电话号码</label>
                    <div class="col-md-10">
                        <input type="text" class="form-control" placeholder="请输入电话号码" id="telephone" name="telephone"/>
                    </div>
                </div>
            </div>
            <div class="col-md-2"></div>
        </div>

        <div class="row">
            <div class="col-md-2"></div>
            <div class="col-md-8">
                <div class="form-group">
                    <label for="introduce" class="control-label col-md-2">用户简介</label>
                    <div class="col-md-10">
                        <textarea class="form-control" rows="3" name="introduce" id="introduce"
                                  placeholder="请输入用户简介"></textarea>
                    </div>
                </div>
            </div>
            <div class="col-md-2"></div>
        </div>


        <div class="row">
            <div class="col-md-4"></div>
            <div class="col-md-4" align="center">
                <button class="btn btn-primary" type="submit">提交</button>
                <button class="btn btn-default" type="button">普通按钮</button>
                <button class="btn btn-info" type="reset">重置</button>
            </div>
            <div class="col-md-4"></div>
        </div>

    </form>
</div>

<!-- 1.11.3版本的 jquery.js , bootstrap.min.js 依赖 jquery.js  -->
<script type="text/javascript" src="https://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
        integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
        crossorigin="anonymous"></script>
</body>
</html>